package org.poem.datasource;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("连接池信息")
public class ConnectionPoolVo {

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("连接池类型")
    private String type;

    @ApiModelProperty("当前活动连接数")
    private Integer activeCount;

    @ApiModelProperty("活动最大连接数")
    private Integer maxActive;

    @ApiModelProperty("最小空闲数")
    private Integer minIdle;

    @ApiModelProperty("最大空闲连接")
    private Integer maxIdle;


}
